package com.github.chirspan.xaas.rbac.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.github.chirspan.xaas.mybatis.model.BaseModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

/**
 * @Author: chenpan
 * @Date: 2020-06-16 17:03:46
 * @Description: 用户扩展属性配置
 */
@TableName(value = "xaas_rbac_user_ext_config")
@Data
@ToString(callSuper = true)
public class RbacUserExtConfig extends BaseModel {

    @ApiModelProperty(value = "属性标识")
    @TableField(value = "ext_key")
    private String extKey;

    @ApiModelProperty(value = "属性名称")
    @TableField(value = "ext_name")
    private String extName;

    @ApiModelProperty(value = "属性取值类型")
    @TableField(value = "ext_type")
    private String extType;

    @ApiModelProperty(value = "字典取值URL")
    @TableField(value = "dic_url")
    private String dicUrl;

    @ApiModelProperty(value = "本地字典 json数组")
    @TableField(value = "dic_data")
    private String dicData;

    @ApiModelProperty(value = "字典value属性")
    @TableField(value = "dic_props_value")
    private String dicPropsValue;

    @ApiModelProperty(value = "字典label属性")
    @TableField(value = "dic_props_label")
    private String dicPropsLabel;

    @ApiModelProperty(value = "界面填写样式")
    @TableField(value = "fill_in_type")
    private String fillInType;

}
